package com.bruce.pattern.creational.prototype;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

/**
 * Created by bruce on 2018/11/3 14:54
 */
@Slf4j
@Setter
@Getter
public class Mail implements Cloneable {

    private String name;
    private String addresss;
    private String content;

    public Mail(){
        log.info("constructor");
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
